package com.example.sqlite.user.dao;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.sqlite.user.dao.entity.UserEntity;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDao {
    List<UserEntity> findByWhere(IPage<?> page, @Param("entity") UserEntity userEntity);

    UserEntity findById(@Param("id") Integer id);
}